package com.yanqu.road.dao.db;

public class DbPoolConfig {
    private String url;
    private String userName;
    private String password;
    private int maxConnSize;
    private int minConnSize;
    private int initConnSize;
    private String poolName;

    public DbPoolConfig(String url, String userName, String password, int maxConnSize, int minConnSize, int initConnSize, String poolName) {
        this.url = url;
        this.userName = userName;
        this.password = password;
        this.maxConnSize = maxConnSize;
        this.minConnSize = minConnSize;
        this.initConnSize = initConnSize;
        this.poolName = poolName;
    }

    public String getUrl() {
        return url;
    }

    public String getUserName() {
        return userName;
    }

    public String getPassword() {
        return password;
    }

    public int getMaxConnSize() {
        return maxConnSize;
    }

    public int getMinConnSize() {
        return minConnSize;
    }

    public int getInitConnSize() {
        return initConnSize;
    }

    public String getPoolName() {
        return poolName;
    }
}
